WakeUpProcess
PSN is a pointer to the process serial number of the process designated to
receive CPU time.
noErr (0) No error
procNotFound (-600) Suspended process with specified process serial
number does not exist
Notes: When a process specifies a nonzero value for the sleep parameter in the
pending in the event queue, the process is suspended. This process remains
suspended until the time specified in the sleep parameter expires or an
event becomes available for that process. You can use WakeUpProcess to make the process eligible for execution before the time specified in the sleep
parameter expires.
scheduled for execution; it only makes the specified process eligible for
execution.
The process serial number specified in the PSN parameter should be a
high-level event.